package com.njtoyo.taxi.admin.rest.presenter.business.simple_call_ride;

import com.njtoyo.taxi.admin.mapper.master.enums.SimpleCallRideCancellationTriggerBy;
import com.njtoyo.taxi.admin.mapper.master.enums.SimpleCallRideCategory;
import com.njtoyo.taxi.admin.mapper.master.enums.SimpleCallRideOrderPaymentChannel;
import com.njtoyo.taxi.admin.mapper.master.enums.SimpleCallRideState;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ListPresenter implements Serializable {
    @ApiModelProperty("行程ID")
    private Long id;

    @ApiModelProperty("行程创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "行程类型 0:pick_up[司机已接单],1:in_area[在圈内],2:start[行程已开始],3:end[行程已结束]")
    private SimpleCallRideState state;

    @ApiModelProperty(value = "行程是否已取消 0:no[未取消],1:yes[已取消]")
    private Boolean isCancel;

    @ApiModelProperty("行程取消ID")
    private Long cancelId;

    @ApiModelProperty("行程取消原因")
    private String cancelReason;

    @ApiModelProperty(value = "行程是否已结束 0:no[未结束],1:yes[已结束]")
    private Boolean isFinished;

    @ApiModelProperty(value = "出发地名称")
    private String originName;

    @ApiModelProperty(value = "出发地详细名称")
    private String originPlaceName;

    @ApiModelProperty(value = "实际接到地名称")
    private String realOriginName;

    @ApiModelProperty(value = "实际接到地详细名称")
    private String realOriginPlaceName;

    @ApiModelProperty(value = "目的地名称")
    private String destinationName;

    @ApiModelProperty(value = "目的地详细名称")
    private String destinationPlaceName;

    @ApiModelProperty(value = "乘客ID")
    private Long customerId;

    @ApiModelProperty(value = "乘客姓名")
    private String customerName;

    @ApiModelProperty(value = "乘客手机号")
    private String customerMobileNumber;

    @ApiModelProperty(value = "司机ID")
    private Long driverId;

    @ApiModelProperty(value = "司机姓名")
    private String driverName;

    @ApiModelProperty(value = "司机手机号")
    private String driverMobileNumber;

    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "车辆ID")
    private Long taxiId;

    @ApiModelProperty(value = "车牌")
    private String taxiPlateNumber;

    @ApiModelProperty("canton行政区ID")
    private Long cantonId;

    @ApiModelProperty("canton行政区名称")
    private String cantonName;

    @ApiModelProperty("area区域ID")
    private Long areaId;

    @ApiModelProperty("area区域名称")
    private String areaName;

    @ApiModelProperty("叫车所属的区域IdID")
    private Long callRegionId;

    @ApiModelProperty("叫车所属的区域Id名称")
    private String callRegionName;

    @ApiModelProperty("订单金额")
    private BigDecimal amount;

    @ApiModelProperty("是否已支付")
    private Boolean isPaid;

    @ApiModelProperty("支付时间戳")
    private Integer paidTimestamp;

    @ApiModelProperty("是否为线上支付 0:fasle[现金支付],1:true[线上支付]")
    private Boolean isOnline;

    @ApiModelProperty("支付渠道 0:recharge[余额],1:wx_pay[微信]")
    private SimpleCallRideOrderPaymentChannel paymentChannel;

    @ApiModelProperty("叫车类型 0:simple[一键叫车],1:phone[电话叫车]")
    private SimpleCallRideCategory category;

    @ApiModelProperty(value = "取消方 0:driver[司机取消],1:customer[乘客取消],2:admin[管理员取消]")
    private SimpleCallRideCancellationTriggerBy triggerBy;


    private String stateType;

}
